package phoenix.web.test_suites.flirt.common.payment;

import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;

import phoenix.core.base.TestSuiteBase;
import phoenix.core.data_models.PriceLinkDataModel;
import phoenix.web.test_objects.PaymentTests;

public class PricesTS extends TestSuiteBase
{
	private final PaymentTests paymentTests = new PaymentTests(phoenix);

	@DataProvider
	public Object[][] dataPrices()
	{
		return paymentTests.dataProviders.paymentDataPrices();
	}

	@Test(groups = { "male" }, dataProvider = "dataPrices", enabled = true)
	public void checkPricesOnPP1Test(PriceLinkDataModel p_price)
	{
		paymentTests.checkPricesOnPP1(p_price);
	}

	@Test(groups = { "male" }, dataProvider = "dataPrices", enabled = true)
	public void checkPricesOnFeaturesTest(PriceLinkDataModel p_price)
	{
		paymentTests.checkPricesOnFeatures(p_price);
	}
}
